package io.github.talelin.latticy.common.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @authoer:xiantianrong
 * @createDate:2022/9/23
 * @description:
 */
@AllArgsConstructor
@Getter
public enum AreaModelEnum {

    NUll(0, "无效值"),

    RECEIVE(1, "接收"),

    STOCK(2, "仓储"),

    PICK(3, "拣货"),

    SALES_RETURN(4, "退货");


    @EnumValue
    private final Integer areaType;

    @JsonValue    //标记响应实际值
    private final String areaTypeDesc;
}
